package com.rw.admin.service;


import com.github.pagehelper.PageInfo;
import com.rw.common.pojo.ConfigInfo;

import javax.validation.Valid;
import java.util.List;

/**
* @author rabit
* @description 针对表【config_info】的数据库操作Service
* @createDate 2021-12-06 15:10:31
*/
public interface ConfigInfoService {
    List<ConfigInfo> getAll();

    String getValueByKey(String key);

    PageInfo getDataByPage(Integer pageNum, Integer limit,@Valid ConfigInfo configInfo);

    boolean save(ConfigInfo configInfo);

    boolean update(ConfigInfo configInfo);
}
